﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="group_new.aspx.cs" Inherits="AnyOffice.general.system.address.group_new" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		
		<script>
function CheckForm()
{
   if(document.Form1.txtGroupName.value=="")
   {
      alert("组名不能为空！");
      document.Form1.txtGroupName.focus();
	  return false;
    }
    return true;   
}

		</script>
	</HEAD>
	<body class="bodycolor" topmargin="5">
		<form id="Form1" method="post" runat="server">
			<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
				<tr>
					<td class="Big"><img src="/images/notify_new.gif" align="absMiddle"><span class="big3"> 
							新建分组</span>
					</td>
				</tr>
			</table>
			<br>
			<asp:Panel id="pnlMain" runat="server">
				<TABLE class="small" cellSpacing="1" cellPadding="2" width="400" align="center" bgColor="#000000"
					border="0">
					<TR>
						<TD class="TableData" noWrap>分组名称：</TD>
						<TD class="TableData">
							<asp:TextBox id="txtGroupName" runat="server" MaxLength="50" Columns="20" CssClass="BigInput"></asp:TextBox></TD>
					</TR>
					<TR>
						<TD class="TableControl" noWrap align="center" colSpan="2"><INPUT class="BigButton" title="提交数据" onclick="return CheckForm();" type="submit" value="提交"
								name="button1">&nbsp;&nbsp;&nbsp;&nbsp; <INPUT class="BigButton" title="返回" onclick="location='group.aspx'" type="button" value="返回"
								name="button2">
						</TD>
					</TR>
				</TABLE>
			</asp:Panel>
			<asp:Literal id="litMessage" runat="server"></asp:Literal>
		</form>
	</body>
</HTML>
